var express = require('express');
var router = express.Router();
var request = require('request');

router.get('/', function(req, res) {
  res.render('index', { title: '管理平台' });
});

router.get('/heartbeat', function(req, res){res.send('ok');});

router.get('/login', function(req, res) {
  res.render('login.ejs', { title: '管理平台' });
});

module.exports = router;
